package com.lagou.gateway.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author jacken
 * @date 2020/4/25 9:49 PM
 */
@FeignClient(name = "lagou-service-user")
public interface UserFeignClient {

  @RequestMapping("/user/info/{token}")
  String userInfo(@PathVariable("token") String token);

}
